import {
  HTTP
} from "../../utils/http.js";

class Order extends HTTP {
  // 某课次详情
  getRollCallDetailAPI(data) {
    return this.request({
      url: "/wx/class/getClassTimeById",
      data: data,
    });
  }

  // 某课次学员列表
  getMumberListByRollCallIdAPI(data) {
    return this.request({
      url: "/wx/class/classTimeStudentList",
      data: data,
      method: "GET",
    });
  }
  //获取试听记录列表
  getListenRecordAPI(data) {
    return this.request({
      url: "/wx/audition/auditionList",
      data: data,
      method: "GET",
    });
  }
  //取消试听预约
  cancelAuditionAPI(data) {
    return this.request({
      url: "/wx/audition/cancelAudition",
      data: data,
      method: "POST",
    });
  }

  // 获取订单的实收总计
  getOrderListAPI(data) {
    return this.request({
      url: "/wx/course/studentCourseList",
      data: data,
      method: "GET",
    });
  }

  getSumAmountAPI(data) {
    return this.request({
      url: "/wx/course/studentCourseSumAmount",
      data: data,
      method: "POST",
    });
  }

  // 获取订单列表
}
export {
  Order
};